package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 平台权益对象 gw_platform_rights
 * 
 * @author ruoyi
 * @date 2025-05-08
 */
public class GwPlatformRights extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 权益名称 */
    @Excel(name = "权益名称")
    private String rightName;

    /** 业务类型 1 使用时长 2 合同份数  3 短信条数 */
    @Excel(name = "业务类型 1 使用时长 2 合同份数  3 短信条数")
    private String businessType;

    /** 使用时长时 天数，合同  份数，短信 条数 */
    @Excel(name = "使用时长时 天数，合同  份数，短信 条数")
    private Long amount;

    /** 售价 */
    @Excel(name = "售价")
    private String price;

    /** 赠送合同份数 */
    @Excel(name = "赠送合同份数")
    private Long giftContract;

    /** 赠送短信数量 */
    @Excel(name = "赠送短信数量")
    private Long giftSms;
    /**删除标识 0 正常 1 删除*/
    private String delFlag;
    /**排序*/
    private Long sort;

    public Long getSort() {
        return sort;
    }

    public void setSort(Long sort) {
        this.sort = sort;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setRightName(String rightName) 
    {
        this.rightName = rightName;
    }

    public String getRightName() 
    {
        return rightName;
    }

    public void setBusinessType(String businessType) 
    {
        this.businessType = businessType;
    }

    public String getBusinessType() 
    {
        return businessType;
    }

    public void setAmount(Long amount) 
    {
        this.amount = amount;
    }

    public Long getAmount() 
    {
        return amount;
    }

    public void setPrice(String price) 
    {
        this.price = price;
    }

    public String getPrice() 
    {
        return price;
    }

    public void setGiftContract(Long giftContract) 
    {
        this.giftContract = giftContract;
    }

    public Long getGiftContract() 
    {
        return giftContract;
    }

    public void setGiftSms(Long giftSms) 
    {
        this.giftSms = giftSms;
    }

    public Long getGiftSms() 
    {
        return giftSms;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("rightName", getRightName())
            .append("businessType", getBusinessType())
            .append("amount", getAmount())
            .append("price", getPrice())
            .append("giftContract", getGiftContract())
            .append("giftSms", getGiftSms())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
